﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;

namespace OnkyoController
{
    public interface IOnkyoCommandListener
    {
        /// <summary>
        /// Callback that is called when the receiver's volume level gets changed.
        /// </summary>
        /// <param name="newVolumeLevel"></param>
        void OnVolumeLevelChanged(double newVolumeLevel);

        /// <summary>
        /// Callback that is called when a new song starts playing. Updates the artist.
        /// </summary>
        /// <param name="newArtist"></param>
        void OnArtistChanged(string newArtist);

        /// <summary>
        /// Callback that is called when a new song starts playing. Updates the song title.
        /// </summary>
        /// <param name="newSongTitle"></param>
        void OnSongTitleChanged(string newSongTitle);

        /// <summary>
        /// Callback that is called when the play time ticks. Updates the play time of a song.
        /// </summary>
        /// <param name="newTime"></param>
        void OnPlayTimeChanged(string newTime);
    }
}
